﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BlackBBS.Extensions
{
    public static class DoubleExt
    {
        public static double TakeLess(this double compare, double compareTo)
        {
            if (compare <= compareTo)
            {
                return compare;
            }
            return compareTo;
        }
    }
}
